#ifndef WF_DRAWPOINT_H
#define WF_DRAWPOINT_H

#include "pf_previewactioninterface.h"
#include "gui_export.h"

/**
 * This action class can handle user events to draw points.
 *
 */
class GUI_EXPORT WF_DrawPoint : public PF_PreviewActionInterface {
	Q_OBJECT
public:
    WF_DrawPoint(PF_Container& container,
                       PF_GraphicView& graphicView);
    ~WF_DrawPoint() {}

	static QAction* createGUIAction(LX_Define::ActionType /*type*/, QObject* /*parent*/);

    virtual void trigger();

    virtual void mouseMoveEvent(PF_MouseEvent* e);
    virtual void mouseReleaseEvent(PF_MouseEvent* e);
	
	virtual void coordinateEvent(PF_CoordinateEvent* e);
    virtual void commandEvent(PF_CommandEvent* e);
	virtual PF_StringList getAvailableCommands();

    virtual void updateMouseButtonHints();
    virtual void updateMouseCursor();
    virtual void updateToolBar();

private:
    PF_Vector pt;
};

#endif
